Re: [NTG-context] Problem using \scale

2023-02-10 Thread Bruce Horrocks via ntg-context
> On 10 Feb 2023, at 09:20, Hans Hagen via ntg-context > wrote: [snip] Thank-you Hans, these work great - so well in fact that now I've seen the output I've come to the conclusion that the scaled text would be too small and what I should really do is flag the one or two addresses in our

Re: [NTG-context] Problem using \scale

2023-02-10 Thread Hans Hagen via ntg-context
On 2/9/2023 10:42 PM, Bruce Horrocks via ntg-context wrote: I'm printing address labels. Sometimes an address has a long line that is too long to fit on the label with the result that it wraps. Instead of wrapping, I thought it would be nice to try and auto-scale the label and shrink it so

Re: [NTG-context] Problem using \scale

2023-02-09 Thread Henning Hraban Ramm via ntg-context
Am 09.02.23 um 22:42 schrieb Bruce Horrocks via ntg-context: I'm printing address labels. Sometimes an address has a long line that is too long to fit on the label with the result that it wraps. Instead of wrapping, I thought it would be nice to try and auto-scale the label and shrink it so

[NTG-context] Problem using \scale

2023-02-09 Thread Bruce Horrocks via ntg-context
I'm printing address labels. Sometimes an address has a long line that is too long to fit on the label with the result that it wraps. Instead of wrapping, I thought it would be nice to try and auto-scale the label and shrink it so that the long line just fits. I'm using \crlf to break

Re: [NTG-context] interactive link area and scale in LMTX

2019-05-19 Thread Pablo Rodriguez
On 5/18/19 11:00 PM, Hans Hagen wrote: > On 5/18/2019 7:12 PM, Pablo Rodriguez wrote: >> [...] >> Interactive link areas are fine in latest beta (2019.05.18 10:57) with >> LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled. >> >> Could anyone confirm the issue? > fixed in next beta Hans, many

Re: [NTG-context] interactive link area and scale in LMTX

2019-05-18 Thread Hans Hagen
{\goto{#2} [url(#1)]} \starttext \mypersonalurl{wiki.contextgarden.net} \scale[width=.5\textwidth] {\mypersonalurl{wiki.contextgarden.net}} \stoptext Interactive link areas are fine in latest beta (2019.05.18 10:57) with LuaTeX-1.10, but with LuaTeX-2.0, they aren’t

[NTG-context] interactive link area and scale in LMTX

2019-05-18 Thread Pablo Rodriguez
\mypersonalurl{wiki.contextgarden.net} \scale[width=.5\textwidth] {\mypersonalurl{wiki.contextgarden.net}} \stoptext Interactive link areas are fine in latest beta (2019.05.18 10:57) with LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled. Could anyone confirm the issue? Many thanks

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Alan Braslau
never wanted to add a ton of code for > images) so there externalfigure will scale proportionally too ConTeXt running on the luatex experimental branch under development indeed works with one-pass-MP calculations as opposed to the two-pass mechanism that is standard today. For documents with

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
.." ... That's what I was looking for. Thanks. the "externalfigure" variant is an old one that had to deal with dimensions in a way that avoids overflows in a future context (read luatex 1.09+) we go one-pass-mp so we can have a different approach (i never wanted to add a ton of co

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Marco Patzer
On Sun, 8 Jul 2018 10:39:52 +0200 Hans Hagen wrote: > On 7/8/2018 1:45 AM, Marco Patzer wrote: > > On Sat, 7 Jul 2018 14:27:38 -0600 > > Alan Braslau wrote: > > > >> For "historic" reasons, > >> draw externalfigure "cow" scaled 5cm ; > >> normalizes the figure to a square. This will not

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
On 7/8/2018 1:45 AM, Marco Patzer wrote: On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: For "historic" reasons, draw externalfigure "cow" scaled 5cm ; normalizes the figure to a square. This will not be changed as it is a very old feature of MetaFun. The solution is draw

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: > For "historic" reasons, > draw externalfigure "cow" scaled 5cm ; > normalizes the figure to a square. This will not be changed as it is a > very old feature of MetaFun. > > The solution is > draw rawtextext("\externalfigure[cow]")

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
On Sat, 7 Jul 2018 22:27:51 +0200 Hans Hagen wrote: > On 7/7/2018 8:58 PM, Marco Patzer wrote: > > Hi! > > > > How to scale an image in MetaPost, maintaining the aspect ratio > > (without specifying the height explicitly)? > > > > Example: > >

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Hans Hagen
On 7/7/2018 8:58 PM, Marco Patzer wrote: Hi! How to scale an image in MetaPost, maintaining the aspect ratio (without specifying the height explicitly)? Example: \setupexternalfigures [location=default] \starttext \externalfigure [cow][width=5cm] \startMPcode draw externalfigure

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Alan Braslau
On Sat, 7 Jul 2018 20:58:40 +0200 Marco Patzer wrote: > Hi! > > How to scale an image in MetaPost, maintaining the aspect ratio > (without specifying the height explicitly)? > > Example: > > \setupexternalfigures [location=default] > \starttext > \

[NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
Hi! How to scale an image in MetaPost, maintaining the aspect ratio (without specifying the height explicitly)? Example: \setupexternalfigures [location=default] \starttext \externalfigure [cow][width=5cm] \startMPcode draw externalfigure "cow" scaled 5cm; \stopMPcode

Re: [NTG-context] How to scale math with text?

2018-06-06 Thread Aditya Mahajan
On Tue, 5 Jun 2018, Alan Braslau wrote: The "style=" use is, in general, preferable for tagging (and exporting). For less than paragraph switching, the use of \definehighlight for example could be used. Quick and dirty font switching is almost always poor usage... You didn't read the first

Re: [NTG-context] How to scale math with text?

2018-06-05 Thread Alan Braslau
jan wrote: > On Mon, 4 Jun 2018, Alan Braslau wrote: > > > On Tue, 5 Jun 2018 10:37:12 +1200 > > Henri Menke wrote: > > > >> Dear list, > >> > >> probably I'm just missing something obvious. How can I scale the > >> math font siz

Re: [NTG-context] How to scale math with text?

2018-06-05 Thread Aditya Mahajan
On Mon, 4 Jun 2018, Alan Braslau wrote: On Tue, 5 Jun 2018 10:37:12 +1200 Henri Menke wrote: Dear list, probably I'm just missing something obvious. How can I scale the math font size to match the text font size locally? In the following MWE text is scaled to 10pt but math still appears

Re: [NTG-context] How to scale math with text?

2018-06-04 Thread Alan Braslau
On Tue, 5 Jun 2018 10:37:12 +1200 Henri Menke wrote: > Dear list, > > probably I'm just missing something obvious. How can I scale the > math font size to match the text font size locally? In the following > MWE text is scaled to 10pt but math still appears at 12pt. > &g

[NTG-context] How to scale math with text?

2018-06-04 Thread Henri Menke
Dear list, probably I'm just missing something obvious. How can I scale the math font size to match the text font size locally? In the following MWE text is scaled to 10pt but math still appears at 12pt. \starttext {\tfx ABC $DEF$ GHI\par} \stoptext Cheers, Henri

[NTG-context] Scale figure to fill a box

2018-02-04 Thread Wolfgang Schuster
Hi Hans, I want to use a few graphics as page backgrounds but with the \scale command the image always stays within the borders of the page. Can you add a command (probably easier than adding such a function to \scale) which does as same as in the second row of the example below where

Re: [NTG-context] (bug?) interactive link areas and \scale

2016-02-03 Thread Hans Hagen
\mypersonalurl{wiki.contextgarden.net} \scale[width=.5\textwidth] {\mypersonalurl{wiki.contextgarden.net}} \stoptext The link area in latest beta is wrong when \scale is used (second link). Link area is fine with latest stable and beta from 2015.11.19 19:13. I don’t have all betas

[NTG-context] (bug?) interactive link areas and \scale

2016-02-02 Thread Pablo Rodriguez
: \setupinteraction[state=start] \enabledirectives[references.border] \def\mypersonalurl#1{\bgroup% \tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup}% \unexpanded\def\href#1#2{\goto{#2} [url(#1)]} \starttext \mypersonalurl{wiki.contextgarden.net} \scale[width=.5

[NTG-context] Protrusion and \scale

2015-12-15 Thread Marc Trius
Hello, I'm using \scale to scale up a headline to the width of the entire paragraph, like so: \definefontfeature [default] [default] [protrusion=quality,expansion=quality] \def\scaleHead#1% {\scale[width=\textwidth]{#1}} \setuphead[subject] [textcommand=\scaleHead] \starttext \subject

Re: [NTG-context] Protrusion and \scale

2015-12-15 Thread Hans Hagen
On 12/15/2015 8:46 AM, Marc Trius wrote: Hello, I'm using \scale to scale up a headline to the width of the entire paragraph, like so: \definefontfeature [default] [default] [protrusion=quality,expansion=quality] \def\scaleHead#1% {\scale[width=\textwidth]{#1}} \setuphead[subject

[NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
Dear all, I am trying to write some lua code that loads some pdf file and scales it. I have the following code (got from previous question here to get number of pages from a pdf and from source files). local figure = figures.push { name = filename, scale = N } -- scale value does not seem

Re: [NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
code that loads some pdf file and scales it. I have the following code (got from previous question here to get number of pages from a pdf and from source files). local figure = figures.push { name = filename, scale = N } -- scale value does not seem to be taken in account assert(figure

[NTG-context] How to scale fonts?

2013-02-07 Thread Devendra Ghate
Hello, I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000] should do it. Though the above code doesn't throw any errors,

Re: [NTG-context] How to scale fonts?

2013-02-07 Thread Marco Patzer
On 2013–02–07 Devendra Ghate wrote: I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000] should do it. Though the

Re: [NTG-context] How to scale fonts?

2013-02-07 Thread Devendra Ghate
On 02/07/2013 03:21 PM, Marco Patzer wrote: On 2013--02--07 Devendra Ghate wrote: I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [

Re: [NTG-context] How to scale fonts?

2013-02-07 Thread Marco Patzer
On 2013–02–07 Devendra Ghate wrote: \definebodyfont [default] [tfH= cmr12 scaled 7000] still does not work and also wipes out definitions for \tfa \tfx etc. So {\tfa 1}{\tf 1}{\tfx 1} will just yield 111 You're totally right. My MWE is: […] \definefontsize [H]

[NTG-context] Scale argument for copypages broken

2013-01-30 Thread Marco Patzer
Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] Scale argument for copypages broken

2013-01-30 Thread Wolfgang Schuster
Am 30.01.2013 um 18:58 schrieb Marco Patzer home...@lavabit.com: Hi, the scale argument for \copypages does not work any more in a recent beta: \starttext \copypages [cow] [scale=100] \stoptext \copypages[cow][][scale=100] Hans explained this change a while ago. Wolfgang

Re: [NTG-context] Scale argument for copypages broken

2013-01-30 Thread Marco Patzer
On 2013–01–30 Wolfgang Schuster wrote: \copypages[cow][][scale=100] Hans explained this change a while ago. I found the thread. Thanks. Marco signature.asc Description: Digital signature ___ If your question

Re: [NTG-context] math: \text does not scale properly

2012-10-24 Thread Hans Hagen
scale properly when used as super- or subscript, I have prepared a minimal example to demonstrate that it doesn't. In my document I have switched from \text{ } to \normal, which works. There is another bug with \text. How about: [] I don't understand the fix, but it gives the correct

Re: [NTG-context] math: \text does not scale properly

2012-10-23 Thread Aditya Mahajan
On Sun, 21 Oct 2012, Hans Hagen wrote: On 21-10-2012 04:35, Aditya Mahajan wrote: On Sat, 20 Oct 2012, Aditya Mahajan wrote: On Thu, 4 Oct 2012, Andreas Mang wrote: Hi there, As Aditya mentioned in a former posting (*) that \text{ ... } should scale properly when used as super

Re: [NTG-context] math: \text does not scale properly

2012-10-21 Thread Hans Hagen
On 21-10-2012 04:35, Aditya Mahajan wrote: On Sat, 20 Oct 2012, Aditya Mahajan wrote: On Thu, 4 Oct 2012, Andreas Mang wrote: Hi there, As Aditya mentioned in a former posting (*) that \text{ ... } should scale properly when used as super- or subscript, I have prepared a minimal example

Re: [NTG-context] math: \text does not scale properly

2012-10-20 Thread Aditya Mahajan
On Thu, 4 Oct 2012, Andreas Mang wrote: Hi there, As Aditya mentioned in a former posting (*) that \text{ ... } should scale properly when used as super- or subscript, I have prepared a minimal example to demonstrate that it doesn't. In my document I have switched from \text{ } to \normal

Re: [NTG-context] math: \text does not scale properly

2012-10-20 Thread Aditya Mahajan
On Sat, 20 Oct 2012, Aditya Mahajan wrote: On Thu, 4 Oct 2012, Andreas Mang wrote: Hi there, As Aditya mentioned in a former posting (*) that \text{ ... } should scale properly when used as super- or subscript, I have prepared a minimal example to demonstrate that it doesn't. In my

Re: [NTG-context] scale=... and specifying the width and height of a figure

2012-10-16 Thread Hans Hagen
On 16-10-2012 23:08, Aditya Mahajan wrote: Hi, If scale option for a figure is set, \externalfigure does not honor the width and the height parameters. For example \externalfigure[cow][width=1cm, height=3cm, scale=750] gives a figure which has the usual aspect ratio. I know that settings

Re: [NTG-context] scale=... and specifying the width and height of a figure

2012-10-16 Thread Aditya Mahajan
On Tue, 16 Oct 2012, Hans Hagen wrote: On 16-10-2012 23:08, Aditya Mahajan wrote: Hi, If scale option for a figure is set, \externalfigure does not honor the width and the height parameters. For example \externalfigure[cow][width=1cm, height=3cm, scale=750] gives a figure which has

Re: [NTG-context] scale=... and specifying the width and height of a figure

2012-10-16 Thread Hans Hagen
On 16-10-2012 23:33, Aditya Mahajan wrote: I actually use these abstractions, but with the default value also set. That's the whole point of having the defaults, right? So, my current solution is: \setupexternalfigures[scale=750, factor=max, maxwidth=\textwidth, maxheight=\textheight

Re: [NTG-context] scale=... and specifying the width and height of a figure

2012-10-16 Thread Aditya Mahajan
On Tue, 16 Oct 2012, Hans Hagen wrote: On 16-10-2012 23:33, Aditya Mahajan wrote: I actually use these abstractions, but with the default value also set. That's the whole point of having the defaults, right? So, my current solution is: \setupexternalfigures[scale=750, factor=max, maxwidth

[NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles
Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Thanks Charles

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Wolfgang Schuster
Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea ? Can you try this: \starttext

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Charles
Le 15/10/2012 17:22, Wolfgang Schuster a écrit : Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages[tt.pdf][scale=500] \stoptext Any idea

Re: [NTG-context] Parameter scale in copypages in latest beta

2012-10-15 Thread Hans Hagen
On 15-10-2012 17:25, Charles wrote: Le 15/10/2012 17:22, Wolfgang Schuster a écrit : Am 15.10.2012 um 17:12 schrieb Charles c...@vejnar.org: Hi, I was importing a PDF inside my document, but the scale parameter is now ignored. It's reproducible with any PDF with: \starttext \copypages

[NTG-context] math: \text does not scale properly

2012-10-04 Thread Andreas Mang
Hi there, As Aditya mentioned in a former posting (*) that \text{ ... } should scale properly when used as super- or subscript, I have prepared a minimal example to demonstrate that it doesn't. In my document I have switched from \text{ } to \normal, which works. Kind regards, Andreas

Re: [NTG-context] math: \text does not scale properly

2012-10-04 Thread Alan BRASLAU
On Thu, 4 Oct 2012 09:10:17 +0200 Andreas Mang m...@imt.uni-luebeck.de wrote: Hi there, As Aditya mentioned in a former posting (*) that \text{ ... } should scale properly when used as super- or subscript, I have prepared a minimal example to demonstrate that it doesn't. In my document I

Re: [NTG-context] math: \text does not scale properly

2012-10-04 Thread Andreas Mang
{ ... } should scale properly when used as super- or subscript, I have prepared a minimal example to demonstrate that it doesn't. In my document I have switched from \text{ } to \normal, which works. Kind regards, Andreas ConTeXt ver: 2012.09.25 21:44 MKIV fmt: 2012.10.1 %% MINIMAL EXAMPLE

[NTG-context] The bug with the scale of fallback fonts

2012-01-27 Thread 李延瑞
Hi, See this example about Chinese fonts as fallback fonts. The Latin font's scale rate is less than the fallback font from \tf to \tfd. The size of the fallback font is almost two times of the Latin font with \tfd. \starttypescript[serif][myfonts] \definefontsynonym[hereos

[NTG-context] math symbols in superscript do not scale properly

2011-12-15 Thread Andreas Mang
Hi there, It came to my attention that there might be a problem when using math symbols in the superscript: It seems that the symbols are not properly scaled (if downscaling was what I suppose to be the default behaviour). A small example is given below. Thanks in advance. Cheers, Andreas

Re: [NTG-context] math symbols in superscript do not scale properly

2011-12-15 Thread Hans Hagen
On 15-12-2011 14:38, Andreas Mang wrote: Hi there, It came to my attention that there might be a problem when using math symbols in the superscript: It seems that the symbols are not properly scaled (if downscaling was what I suppose to be the default behaviour). A small example is given

[NTG-context] I don't understand scale value of \scale[scale=700], 700 = 70% ?

2011-10-12 Thread Stéphane Klein
Le 11/10/2011 15:09, Peter Münster a écrit : On Tue, Oct 11 2011, Stéphane Klein wrote: Do you have a tip ? There is \scale[...]{...}: \starttext \dontleavehmode \scale[scale=700]{•} • \scale[scale=1700]{•} \stoptext I don't understand the scale value : * 700 = 70% ? * 1700 = 170

Re: [NTG-context] I don't understand scale value of \scale[scale=700], 700 = 70% ?

2011-10-12 Thread luigi scarso
On Wed, Oct 12, 2011 at 1:47 PM, Stéphane Klein steph...@harobed.org wrote: Le 11/10/2011 15:09, Peter Münster a écrit : On Tue, Oct 11 2011, Stéphane Klein wrote: Do you have a tip ? There is \scale[...]{...}: \starttext \dontleavehmode \scale[scale=700]{•} • \scale[scale=1700

Re: [NTG-context] How to not scale images?

2010-12-03 Thread Khaled Hosny
On Fri, Dec 03, 2010 at 12:34:47AM +0100, Hans Hagen wrote: On 3-12-2010 12:24, Khaled Hosny wrote: On Fri, Dec 03, 2010 at 12:15:40AM +0100, Hans Hagen wrote: On 3-12-2010 12:08, Khaled Hosny wrote: What option should I pass to \externalfigure to not scale the image, from the manuals

[NTG-context] How to not scale images?

2010-12-02 Thread Khaled Hosny
What option should I pass to \externalfigure to not scale the image, from the manuals it seems to be scale=1000 but it does not seem to do anything here. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

Re: [NTG-context] How to not scale images?

2010-12-02 Thread Hans Hagen
On 3-12-2010 12:08, Khaled Hosny wrote: What option should I pass to \externalfigure to not scale the image, from the manuals it seems to be scale=1000 but it does not seem to do anything here. \externalfigure[cow.pdf] should take the natural size; sometimes bitmaps can come out unexpexted

Re: [NTG-context] How to not scale images?

2010-12-02 Thread Khaled Hosny
On Fri, Dec 03, 2010 at 12:15:40AM +0100, Hans Hagen wrote: On 3-12-2010 12:08, Khaled Hosny wrote: What option should I pass to \externalfigure to not scale the image, from the manuals it seems to be scale=1000 but it does not seem to do anything here. \externalfigure[cow.pdf] should

Re: [NTG-context] How to not scale images?

2010-12-02 Thread Hans Hagen
On 3-12-2010 12:24, Khaled Hosny wrote: On Fri, Dec 03, 2010 at 12:15:40AM +0100, Hans Hagen wrote: On 3-12-2010 12:08, Khaled Hosny wrote: What option should I pass to \externalfigure to not scale the image, from the manuals it seems to be scale=1000 but it does not seem to do anything here

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Albrecht Kauffmann
2pt; numeric u; u=2cm; draw (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60; fill (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60 withcolor (0.58,0.94,0.9); \stopuseMPgraphic \useMPgraphic{Dir} (2) Is there a command to scale the whole picture...not the components? Thanks very much

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Taco Hoekwater
(2) Is there a command to scale the whole picture...not the components? Parse error. In my view, the whole picture *is* the components. Best wishes, Taco ___ If your question is of interest to others as well

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Curious Learn
Albrecht Kauffmann alkauffm at rz.uni-potsdam.de writes: only to (1): try draw (((0,0) -- dir(0)*u -- dir(60)*u --cycle) rotated 60); Thanks Albrecht. That worked great. ___ If your question is of interest to

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Curious Learn
Taco Hoekwater taco at elvenkind.com writes: (2) Is there a command to scale the whole picture...not the components? Parse error. In my view, the whole picture *is* the components. Best wishes, Taco Hi Taco, Sorry for the typo and for not being clear. I meant the following. I know

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Mikael Persson
On Fri, Mar 13, 2009 at 2:39 PM, Curious Learn curiousle...@gmail.com wrote: Taco Hoekwater taco at elvenkind.com writes: (2) Is there a command to scale the whole picture...not the components? Parse error. In my view, the whole picture *is* the components. Best wishes, Taco Hi Taco

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Taco Hoekwater
Curious Learn wrote: Taco Hoekwater taco at elvenkind.com writes: (2) Is there a command to scale the whole picture...not the components? Parse error. In my view, the whole picture *is* the components. Best wishes, Taco Hi Taco, Sorry for the typo and for not being clear. I meant

Re: [NTG-context] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Curious Learn
Taco Hoekwater taco at elvenkind.com writes: You want this, I think: beginfig(1); ... do stuff ... currentpicture := currentpicture scaled X; endfig; Awesome!! This is exactly what I was looking for. Thanks Taco and Mikael.

[NTG-context] Thanks. Two new questions: rotate and scale

2009-03-12 Thread Curious Learn
(0.58,0.94,0.9); \stopuseMPgraphic \useMPgraphic{Dir} (2) Is there a command to scale the whole picture...not the components? Thanks very much. I have said this before but want to say this again. Thanks so much to the developers of Context who have given us this wonderful system. Thanks also to all

Re: [NTG-context] gray scale conversion of colored text

2007-03-27 Thread Taco Hoekwater
Peter Rolf wrote: Something like \setupcolors[conversion=always] Is there is a reason why you can not use \setupcolors[state=start] as well? That works fine in combination with conversion, and you will end up with greyscale color. Best, Taco

Re: [NTG-context] gray scale conversion of colored text

2007-03-27 Thread Peter Rolf
Taco Hoekwater wrote: Peter Rolf wrote: Something like \setupcolors[conversion=always] Is there is a reason why you can not use \setupcolors[state=start] as well? Mh, you mean beside from my too little brain? No. ;) This works with the simple example, but sadly not with my more

[NTG-context] gray scale conversion of colored text

2007-03-26 Thread Peter Rolf
Hi, I currently have a problem with the conversion of some mp graphics into gray scale. The mp graphics themself look great, but *text is always converted to black*, regardless of its real color. Is there a way to fix this? Peter ___ ntg-context

Re: [NTG-context] gray scale conversion of colored text

2007-03-26 Thread Peter Rolf
Peter Rolf wrote: Hi, I currently have a problem with the conversion of some mp graphics into gray scale. The mp graphics themself look great, but *text is always converted to black*, regardless of its real color. Is there a way to fix this? Sorry, I made a mistake. The text that is used

Re: [NTG-context] \externalfigure[cow.pdf][scale=0.8]

2005-10-24 Thread Christopher Creutzig
Steve Peter wrote: The scaling factor is in units of 1000. To get 80% size, use [scale=800]. Thanks. Added comment to texshow-web. Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] \externalfigure[cow.pdf][scale=0.8]

2005-10-23 Thread Steve Peter
On Oct 23, 2005, at 10:56 AM, Christopher Creutzig wrote: according to texshow, \externalfigure accepts scale as an option.  For me,\starttext\externalfigure[cow.pdf][scale=0.8]\stoptextresults in getting ".8.8.8.8" in front of the image.The scaling factor is in units of 1000. To get 80%

[NTG-context] strange behaviour with \scale

2005-07-01 Thread Peter Münster
Hello, could anybody explain, why the DRAFT is bigger on the last two pages please? \defineoverlay[Draft][{\scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}] \setupbackgrounds[page][background=Draft] \starttext \starttables[|l|] \dorecurse{200}{\NC hallo \NC\AR} \stoptables \stoptext Cheers

Re: [NTG-context] strange behaviour with \scale

2005-07-01 Thread Mojca Miklavec
Peter Münster wrote: could anybody explain, why the DRAFT is bigger on the last two pages please? I played with \defineoverlay[Draft][{\scale[factor=max] {\rotate[rotation=60]{\framed[strut=no,offset=0pt]{\strut~DRAFT~\strut] \setupbackgrounds[page][background=Draft] \showstruts

Re: [NTG-context] strange behaviour with \scale

2005-07-01 Thread Peter Münster
On Fri, 1 Jul 2005, Mojca Miklavec wrote: If you need a solution: use {\ Draft\ } Thanks a lot! I didn't think about this kind of space at all... If you need the reason: wait for the expert(s) I don't need it, but it would certainly be interesting ;) Cheers, Peter --

Re: [NTG-context] strange behaviour with \scale

2005-07-01 Thread Taco Hoekwater
Peter Münster wrote: On Fri, 1 Jul 2005, Mojca Miklavec wrote: If you need a solution: use {\ Draft\ } Thanks a lot! I didn't think about this kind of space at all... If you need the reason: wait for the expert(s) I don't need it, but it would certainly be interesting ;) From